home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Julian
/
Julian.h
next >
Wrap
Text File
|
1995-06-12
|
2KB
|
106 lines
//Julian 3.0
//
#import <objc/Object.h>
@interface Julian:Object
{
double julianDayVal;
}
+ (void) getEasterDay :(int ) year
:(int *) day
:(int *) month;
+ (double) getCurrentDate;
+ (double) julianDay :(int) day
:(int) month
:(int) year;
+ (double) julianDay :(int) day
:(int) month
:(int) year
:(int) hour
:(int) min
:(int) sec;
+ (void) calendarDay :(double) julian
:(int *) day
:(int *) month
:(int *) year;
+ (void) calendarDay :(double) julian
:(int *) day
:(int *) month
:(int *) year
:(int *) hour
:(int *) min
:(int *) sec;
+ (BOOL) validDay :(int) day
:(int) month
:(int) year;
+ (BOOL) validDay :(int) day
:(int) month
:(int) year
:(int) hour
:(int) min
:(int) sec;
+ (int) dow:(long) julian;
+ (int) doy:(int) day
:(int) month
:(int) year;
+ (double) wkd:(int) day
:(int) month
:(int) year;
// instance methods
- init;
- (BOOL) initDay
:(int) month
:(int) day
:(int) year;
- (BOOL) initDay
:(int) month
:(int) day
:(int) year
:(int) hour
:(int) min
:(int) sec;
- read:(NXTypedStream *)stream;
- write:(NXTypedStream *)stream;
- (double) getJulianDay;
- getCalendarDay :(int*) month
:(int*) day
:(int*) year;
- getCalendarDay :(int*) month
:(int*) day
:(int*) year
:(int*) hour
:(int*) min
:(int*) sec;
- (BOOL) setJulianDay :(double) day;
- (BOOL) setJulianDay :(int) month
:(int) day
:(int) year;
- (BOOL) setJulianDay :(int) month
:(int) day
:(int) year
:(int) hour
:(int) min
:(int) sec;
@end